.global start
start:
    .code16
    cli
    cld
    xorw %ax, %ax
    movw %ax, %ds
    movw %ax, %ss
    movw %ax, %es

    movw $0xb800, %ax
    movw %ax, %es
    movw $msg1, %si
    movw $0xbe2, %di
    movw $24, %cx

    rep movsb
spin:
    jmp spin

msg1:
    .byte 'i', 0x7, 'n', 0x7, ' ', 0x7, 'r', 0x7, 'e', 0x7, 'a', 0x7, 'l', 0x7, ' ', 0x7, 'm', 0x7, 'o', 0x7, 'd', 0x7, 'e', 0x7
                    
